package hotel.compare.oversea.mapper.switchs;

import hotel.compare.oversea.entity.switchs.SwitchHotelUpEntity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.BaseMapper;

import java.util.List;

/**
 * @Auther: lmf
 * @Date: 2021/01/13/17:34
 * @Description:
 */
public interface SwitchHotelUpMapper  extends BaseMapper<SwitchHotelUpEntity> {
    /***
    * @Author: lmf
    * @Date: 2021/1/13
     * 获取上架的酒店数据
    */
    List<SwitchHotelUpEntity> selectSaleList();
    /***
    * @Author: lmf
    * @Date: 2021/1/25
     * 获取创建标记
    */
    Integer selectByMasterHotelId(@Param("switchHotelId") Integer switchHotelId);
}
